<#import "/common/taglibs/spring.ftl" as spring/>
<#macro dateTimeInput date format="yyyy-MM-dd HH:mm:ss" inputName="date">
<#--input-group-addon, glyphicon-th only add for compatibility BSv3 http://www.malot.fr/bootstrap-datetimepicker-->
<div class="input-group date form_datetime">
    <input type="text" class="form-control m-input" readonly name="${inputName}" value='${datetimeFormat(date,format)}'>
    <div class="input-group-append input-group-addon">
        <button class="btn btn-sm btn-secondary date-set" type="button">
            <i class="la la-calendar glyphicon-th"></i>
        </button>
    </div>
</div>
</#macro>